$(':button#preview').click ->
	title = $('#:titleId').val()
	$('#title').html '<b>' + title + '</b>'
	value = $('#:valueId').val()
	converter = new Markdown.Converter()
	$('#value').html converter.makeHtml(value)
	$dialog = $("#question-preview")
	$dialog.dialog("open")
	